package rootPackage.controller;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

import rootPackage.service.AziendeService;

public class AziendeController extends Controller {
    
    private AziendeService service= new AziendeService();
    
    @Override
    public Navigation run() throws Exception {
        requestScope("aziendaList", service.getAll());
        return forward("aziende.jsp");
    }
}
